<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>sentwitt</title>
  <link rel="stylesheet" type="text/css" href="/static/style.css" media="screen" /> 
</head>
<h1>Sentwitt</h1>

<p> Tweet #s your #hashtag or @user sentiment :) </p>

<form action="#" method="post">
<table border="0" cellspacing="20" cellpadding="0" align="center">
<tr>
<td align="left"><input type="text" name="search" size="100" class="searchbox" maxlength="200" /></td>
</tr>
<tr><td align="center"><input type="submit" name="search" value="search" /></td></tr>
</table>
</form>

<table border="0">
<tr>

<td align="left">
</td>

<td align="left">
<h1>@</h1>
</td>

<td align="left">
<h1>#</h1>
</td>

<td align="left">
<h1>A</h1>
</td>

</tr>

<tr>

<td align="left">
<h1>Winners</h1>
</td>

<td>
{% for w in winners %}
{% ifequal w.so.type "user" %}
<p> {{ w.so.vstring }} {{ w.pos }} {{ w.neg }} {{ w.rate }}% ({{ w.ratediff }}) </p>
{% endifequal %}
{% endfor %}
</td>
<td>
{% for w in winners %}
{% ifequal w.so.type "hashtag" %}
<p> {{ w.so.vstring }} {{ w.pos }} {{ w.neg }} {{ w.rate }}% ({{ w.ratediff }}) </p>
{% endifequal %}
{% endfor %}
</td>
<td>
{% for w in winners %}
{% ifequal w.so.type "text" %}
<p> {{ w.so.vstring }} {{ w.pos }} {{ w.neg }} {{ w.rate }}% ({{ w.ratediff }}) </p>
{% endifequal %}
{% endfor %}
</td>
</tr>

<tr>
<td align="left">
<h1>Loosers</h1>
</td>
{% for w in loosers %}
{% ifequal w.so.type "user" %}
<p> {{ w.so.vstring }} {{ w.pos }} {{ w.neg }} {{ w.rate }}% ({{ w.ratediff }}) </p>
{% endifequal %}
{% endfor %}
</td>
<td>
{% for w in loosers %}
{% ifequal w.so.type "hashtag" %}
<p> {{ w.so.vstring }} {{ w.pos }} {{ w.neg }} {{ w.rate }}% ({{ w.ratediff }}) </p>
{% endifequal %}
{% endfor %}
</td>
<td>
{% for w in loosers %}
{% ifequal w.so.type "text" %}
<p> {{ w.so.vstring }} {{ w.pos }} {{ w.neg }} {{ w.rate }}% ({{ w.ratediff }}) </p>
{% endifequal %}
{% endfor %}
</td>
</tr>
</table>

<table border="0">
<tr>
<td align="right">
<script src="http://widgets.twimg.com/j/2/widget.js"></script>
<script>
new TWTR.Widget({
  version: 2,
  type: 'search',
  search: '#get2thepoint',
  interval: 6000,
  title: 'Now voting',
  subject: '',
  width: 700,
  height: 150,
  theme: {
    shell: {
      background: '#ffffff',
      color: '#000000'
    },
    tweets: {
      background: '#ffffff',
      color: '#444444',
      links: '#1985b5'
    }
  },
  features: {
    scrollbar: false,
    loop: true,
    live: true,
    hashtags: true,
    timestamp: true,
    avatars: true,
    behavior: 'default'
  }
}).render().start();
</script>
</td>
</tr>

</table>
<!-- Template Design by Christopher Ditto: http://www.dittoditto.com -->
</body>
</html>
